package com.tjetc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Health implements Serializable {
    @Serial
    private static final long serialVersionUID = 3962950467049666791L;
    private Integer id;

    private Integer newbornId;

    private Integer diseaseId;
    private List<Disease> diseaseList;
    public Health(int newbornId, Integer diseaseId) {
        this.newbornId = newbornId;
        this.diseaseId = diseaseId;
    }
}